<?php
namespace app\index\controller;

use app\BaseController;
use app\server\push\AppPush;

class Index extends BaseController
{
    public function index()
    {
        $push=app()->make(AppPush::class);
        $cid='eb0a604092c2c3fba40f96f4de99d9dd';
        $data=[];
        $data['title']='test';
        var_dump( $push->pushCid($cid,$data));
       }

    public function hello($name = '1')
    {

        return  $name ?? '123';
    }
}
